package com.xiangmo.travel.Entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
public class PersonalityWall implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId("id")
    private Long id;
    private String theme;
    private String iconFont;
    private String content;
    private Long userId;
    @Builder.Default
    private Date createdAt = new Date();
}
